using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using THSERP.BaseProvider;
namespace THSERP.Modules.InvoiceIn
{
    public class APInvoiceInItemsGridControl : THSGridControl 
    {
        public override void InitGridControlDataSource()
        {
            //base.InitGridControlDataSource();
            InvoiceInEntities entity = (InvoiceInEntities)((BaseModuleERP)Screen.Module).CurrentModuleEntity;
            BindingSource bds = new BindingSource();
            bds.DataSource = entity.APInvoiceInItemsList;
            this.DataSource = bds;
        }
    }
}
